package com.bzkj.basicinfo.service.basic;

import com.bzkj.basicinfo.domain.basic.BasicStoUnit;
import com.bzkj.common.core.domain.AjaxResult;

import java.util.List;

/**
 * @author wl
 * @description 针对表【basic_sto_unit(WMS货位信息表)】的数据库操作Service
 * @createDate 2024-12-13 12:08:36
 */
public interface BasicStoUnitService
{

    List<BasicStoUnit> findBasicStoUnit(BasicStoUnit entity);

    /**
     * 批量修改货位状态
     * @param list 货位id
     * @param status 状态值
     * @return
     */
    AjaxResult updateBasicStoUnitEnableStatusAll(List<Integer> list, String status);

    /**
     * 修改货位状态
     * @param enableState 状态值
     * @param stoUnitId 货位id
     * @return
     */
    AjaxResult updateBasicStoUnitEnableStatus(String enableState, String stoUnitId);

    AjaxResult printStoUnit(List<Integer> stoUnitIds);

    /**
     * 根据货位id删除货位数据
     *
     * @param stoUnitId 货位id
     * @return
     */
    AjaxResult deleteByStoUnitId(String stoUnitId);

    /**
     * 批量删除货位
     *
     * @param stoUnitIds 货位id集合
     * @return
     */
    AjaxResult batchDeleteByStoUnitId(List<String> stoUnitIds);
}
